package com.runen.wnhz.runen.presenter.model;

import com.runen.wnhz.runen.data.entity.MyEvaluationBean;
import com.runen.wnhz.runen.data.entity.QuestionInfoBean;
import com.runen.wnhz.runen.service.MyEvaluationApi;
import com.runen.wnhz.runen.service.QuestionInfoApi;

import java.util.Map;

import rx.Observable;

/**
 * NAME：薛世杰
 * DATE：2018/5/2
 * EMIAL：zenhac@163.com
 * DESCRIBE：
 */

public class QuestionInfoModel {


    QuestionInfoApi myQuestionApi;

    public QuestionInfoModel(QuestionInfoApi questionApi) {
        this.myQuestionApi = questionApi;
    }

    public  Observable<QuestionInfoBean> getContent(Map<String,String> map){
        return myQuestionApi.getQuestionList(map);
    }
}
